HDFS-16355. Improve block scanner desc#3724
Conversation
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
| conf.setLong(DFS_BLOCK_SCANNER_VOLUME_BYTES_PER_SECOND, -1L); | ||
| TestContext ctx = new TestContext(conf, 1); | ||
| try { | ||
| Assert.assertFalse(ctx.datanode.getBlockScanner().isEnabled()); |
There was a problem hiding this comment.
There is already a static import for assertFalse, you don't need the prefix Assert.
There was a problem hiding this comment.
Thanks @ayushtkn for your careful review, have just updated
There was a problem hiding this comment.
seems it's still not updated.
There was a problem hiding this comment.
Thanks @jojochuang for you review, sorry for long time no reply, just have updated the comment.
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
@ayushtkn @aajisaka @jojochuang Could you kindly help review if the change is ok,thx |
aajisaka
left a comment
There was a problem hiding this comment.
Minor nit: Would you use try-with-resources for ctx in the test?
|
|
🎊 +1 overall
This message was automatically generated. |
|
Thank you @GuoPhilipse! |
….per.second (#3724) Co-authored-by: gf13871 <[email protected]> Signed-off-by: Akira Ajisaka <[email protected]> (cherry picked from commit 046a620)
….per.second (#3724) Co-authored-by: gf13871 <[email protected]> Signed-off-by: Akira Ajisaka <[email protected]> (cherry picked from commit 046a620)
….per.second (apache#3724) Co-authored-by: gf13871 <[email protected]> Signed-off-by: Akira Ajisaka <[email protected]> (cherry picked from commit 046a620) Change-Id: I2cae5d1c27a492d896da5338a92c7a86f88a8b43
….per.second (apache#3724) Co-authored-by: gf13871 <[email protected]> Signed-off-by: Akira Ajisaka <[email protected]> (cherry picked from commit 046a620) Change-Id: I2cae5d1c27a492d896da5338a92c7a86f88a8b43
….per.second (#3724) Co-authored-by: gf13871 <[email protected]> Signed-off-by: Akira Ajisaka <[email protected]> (cherry picked from commit 046a620) Change-Id: I2cae5d1c27a492d896da5338a92c7a86f88a8b43
….per.second (#3724) Co-authored-by: gf13871 <[email protected]> Signed-off-by: Akira Ajisaka <[email protected]> (cherry picked from commit 046a620) Change-Id: I2cae5d1c27a492d896da5338a92c7a86f88a8b43
….per.second (apache#3724) Co-authored-by: gf13871 <[email protected]> Signed-off-by: Akira Ajisaka <[email protected]>
HDFS-16355
datanode block scanner will be disabled if
dfs.block.scanner.volume.bytes.per.secondis configured less then or equal to zero, we can improve the desciption